function City(obj) {
    console.log(obj)
    var dom;
    dom = "<div class='cityBox'>\n" +
        "<p>选择省份/自治区</p>\n" +
        "<div class='city-ul'>\n" +
        "<div class='city-li province active'></div>\n" +
        "<div class='city-li city '></div>\n" +
        "<div class='city-li district'></div>\n" +
        "</div>\n" +
        "</div>";
    var cityVal;//已选择内容
    var dataId;//获取上级id
    var pHtml,cHtml,dHtml;//省、市、区/县
    $(document).on('click', obj, function() {
        if($(obj).parent().children(".cityBox").length<=0){
            $(obj).parent().append(dom);
                for (var i =0 ;i<ChineseDistricts[86].length; i++){
                    $(".province").append("<span class='city-btn' data-id="+ChineseDistricts[86][i].code+">"+ChineseDistricts[86][i].address+"</span>");
                }
                // $(".province").show();

        }else {
            $(".cityBox").remove();//清除，防止重复写入
        }
    });
    $(document).on('click', '.city-btn', function() {
        dataId = $(this).attr("data-id");
    });
    $(document).on('click', '.province .city-btn', function() {
        for (var key in ChineseDistricts[dataId]) {
            $(".city").append("<span class='city-btn' data-id="+key+">"+ChineseDistricts[dataId][key]+"</span>");
        }
        $(".province").hide();//隐藏当前
        pHtml = $(this).html();
        $("#asdCity").val(pHtml);
    });
    $(document).on('click', '.city .city-btn', function() {
        for (var key in ChineseDistricts[dataId]) {
            $(".district").append("<span class='city-btn' data-id="+key+">"+ChineseDistricts[dataId][key]+"</span>");
        }
        $(".city").hide();//隐藏当前
        cHtml = $(this).html();
        cityVal = $("#asdCity").val();
        $("#asdCity").val(cityVal+"/"+cHtml);
    });
    $(document).on('click', '.district .city-btn', function() {
        $(".cityBox").remove();//清除
        dHtml = $(this).html();
        cityVal = $("#asdCity").val();
        $("#asdCity").val(cityVal+"/"+dHtml);
    });
}